package com.zmj.sy.mom.srv.aps.bean.entity.mes;


import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.bean.entity.base.BaseEntity;
import com.zmj.sy.mom.srv.aps.utils.Comment;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;


@Comment("定时任务-计划报工差异")
@Getter
@Setter
@TableName("tb_job_plan_report_diff")
public class JobPlanReportDiff extends BaseEntity {

    @Comment("日期")
    private LocalDate day;

    @Comment("订单ID")
    private Integer orderId;

    @Comment("BOMID")
    private Integer bomId;

    @Comment("工序ID")
    private Integer phaseId;

    @Comment("施工号")
    private String constructionCode;

    @Comment("部件名称")
    private String deptName;

    @Comment("父级名称")
    private String parentName;

    @Comment("父级PLMID")
    private String parentPlmId;

    @Comment("PLMID")
    private String plmId;

    @Comment("零件名称")
    private String materName;

    @Comment("工序编号")
    private String phaseCode;

    @Comment("工作组")
    private String groupCode;

    @Comment("计划数量")
    private Integer planCount;

    @Comment("报工数量")
    private Integer finishCount;

    @Comment("类型（ 1相等， 2小于 3大于）")
    private Integer type;

    @Comment("状态 1未处理 2已处理")
    private Integer status;

    @Comment("备注")
    private String remark;

}
